power-iter.cpp